#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#define sixty 60


int main()
{
	int min1,hour,min2;
	printf("please input the number of minutes to be converted:\n");
	scanf_s("%d",&min1);
	
	while (min1 > 0)
	{
		hour = min1 / sixty;
		min2 = min1 % sixty;
		printf("The minutes to be converted is %d hour and %d minutes\n",hour,min2);
		printf("please input the number of minutes to be converted:\n");
		scanf_s("%d", &min1);
	}
	printf("thanks your using");
	return 0;
}